package com.googlecode.animator.controller
{
	import com.googlecode.animator.data.FileObjectVO;
	
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * Handles a request to remove a material from the materials library. 
	 * @author USER
	 * 
	 */
	public class MaterialsRemoveFileObjectCommand extends BaseCommand
	{
		/**
		 * Executes command. 
		 * @param notification
		 * 
		 */
		override public function execute(notification:INotification):void
		{
			super.execute(notification);
			
			settings.removeFileObject(notification.getBody() as String);
		}
		
	}
}